<?php
class Account extends Controller
{
    public function __construct()
    {
        parent::__construct(); 
    }

    public function actionIndex()
    {
        return $this->responseView('account/account');
    }

    public function actionPassword()
    {

    }

    protected function _preDispatch($action)
    {
        if (!$this->_session->get('adminid'))
        {
            return $this->responseRedirect('login');
        }
    }
}